/**
 * @mbggenerated
 * @author wujian
 */
package bearworker.zxl.entity;

import java.io.Serializable;
import java.util.Date;

public class DeliveryUserInfo implements Serializable {
    /**
     * delivery_user_info.id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * delivery_user_info.nick_name
     * 用户昵称
     * VARCHAR(255)
     *
     * @mbggenerated
     */
    private String nickName;

    /**
     * delivery_user_info.avatar_url
     * 用户头像，最后一个数值代表正方形头像大小（有0、46、64、96、132数值可选，0代表640*640正方形头像），用户没有头像时该项为空。若用户更换头像，原有头像URL将失效。
     * VARCHAR(255)
     *
     * @mbggenerated
     */
    private String avatarUrl;

    /**
     * delivery_user_info.gender
     * 用户的性别，值为1时是男性，值为2时是女性，值为0时是未知
     * TINYINT(3)
     *
     * @mbggenerated
     */
    private Integer gender;

    /**
     * delivery_user_info.city
     * 用户所在城市
     * VARCHAR(20)
     *
     * @mbggenerated
     */
    private String city;

    /**
     * delivery_user_info.province
     * 用户所在省份
     * VARCHAR(20)
     *
     * @mbggenerated
     */
    private String province;

    /**
     * delivery_user_info.country
     * 用户所在国家
     * VARCHAR(20)
     *
     * @mbggenerated
     */
    private String country;

    /**
     * delivery_user_info.language
     * 用户的语言，简体中文为zh_CN
     * VARCHAR(20)
     *
     * @mbggenerated
     */
    private String language;

    /**
     * delivery_user_info.open_id
     * 微信openId
     * VARCHAR(32)
     *
     * @mbggenerated
     */
    private String openId;

    /**
     * delivery_user_info.union_id
     * 微信唯一ID
     * VARCHAR(32)
     *
     * @mbggenerated
     */
    private String unionId;

    /**
     * delivery_user_info.role
     * 用户角色
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer role;

    /**
     * delivery_user_info.create_time
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date createTime;

    /* @mbggenerated */
    public Integer getId() {
        return id;
    }

    /* @mbggenerated */
    public void setId(Integer id) {
        this.id = id;
    }

    /* @mbggenerated */
    public String getNickName() {
        return nickName;
    }

    /* @mbggenerated */
    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }

    /* @mbggenerated */
    public String getAvatarUrl() {
        return avatarUrl;
    }

    /* @mbggenerated */
    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl == null ? null : avatarUrl.trim();
    }

    /* @mbggenerated */
    public Integer getGender() {
        return gender;
    }

    /* @mbggenerated */
    public void setGender(Integer gender) {
        this.gender = gender;
    }

    /* @mbggenerated */
    public String getCity() {
        return city;
    }

    /* @mbggenerated */
    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    /* @mbggenerated */
    public String getProvince() {
        return province;
    }

    /* @mbggenerated */
    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    /* @mbggenerated */
    public String getCountry() {
        return country;
    }

    /* @mbggenerated */
    public void setCountry(String country) {
        this.country = country == null ? null : country.trim();
    }

    /* @mbggenerated */
    public String getLanguage() {
        return language;
    }

    /* @mbggenerated */
    public void setLanguage(String language) {
        this.language = language == null ? null : language.trim();
    }

    /* @mbggenerated */
    public String getOpenId() {
        return openId;
    }

    /* @mbggenerated */
    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    /* @mbggenerated */
    public String getUnionId() {
        return unionId;
    }

    /* @mbggenerated */
    public void setUnionId(String unionId) {
        this.unionId = unionId == null ? null : unionId.trim();
    }

    /* @mbggenerated */
    public Integer getRole() {
        return role;
    }

    /* @mbggenerated */
    public void setRole(Integer role) {
        this.role = role;
    }

    /* @mbggenerated */
    public Date getCreateTime() {
        return createTime;
    }

    /* @mbggenerated */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}